home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / p_man / cat3 / MPI_Irecv.z / MPI_Irecv
Encoding:
Text File  |  2002-10-03  |  3.4 KB  |  133 lines

  1.  
  2.  
  3.  
  4. MMMMPPPPIIII____IIIIRRRREEEECCCCVVVV((((3333))))                                                      MMMMPPPPIIII____IIIIRRRREEEECCCCVVVV((((3333))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      MMMMPPPPIIII____IIIIrrrreeeeccccvvvv - Begins a nonblocking receive
  10.  
  11. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      C:
  13.  
  14.           #include <mpi.h>
  15.  
  16.           int MPI_Irecv( _b_u_f, _c_o_u_n_t, _d_a_t_a_t_y_p_e, _s_o_u_r_c_e,
  17.           _t_a_g, _c_o_m_m, _r_e_q_u_e_s_t )
  18.           void             *_b_u_f;
  19.           int              _c_o_u_n_t;
  20.           MPI_Datatype     _d_a_t_a_t_y_p_e;
  21.           int              _s_o_u_r_c_e;
  22.           int              _t_a_g;
  23.           MPI_Comm         _c_o_m_m;
  24.           MPI_Request      *_r_e_q_u_e_s_t;
  25.  
  26.  
  27.      C++:
  28.  
  29.           #include <mpi.h>
  30.  
  31.           Request Comm::Irecv(
  32.           void*             _b_u_f,
  33.           int               _c_o_u_n_t,
  34.           const Datatype&   _d_a_t_a_t_y_p_e,
  35.           int               _s_o_u_r_c_e,
  36.           int               _t_a_g) const
  37.  
  38.  
  39.      Fortran:
  40.  
  41.           INCLUDE "mpif.h" (or USE MPI)
  42.  
  43.           <type> BUF(*)
  44.           INTEGER _c_o_u_n_t, _d_a_t_a_t_y_p_e, _s_o_u_r_c_e, _t_a_g, _c_o_m_m, _r_e_q_u_e_s_t, _i_e_r_r_o_r
  45.  
  46.           CALL MPI_IRECV(_b_u_f, _c_o_u_n_t, _d_a_t_a_t_y_p_e, _s_o_u_r_c_e, _t_a_g, _c_o_m_m, _r_e_q_u_e_s_t, _i_e_r_r_o_r)
  47.  
  48.  
  49. SSSSTTTTAAAANNNNDDDDAAAARRRRDDDDSSSS
  50.      This release implements the MPI 1.2 standard, as documented by the MPI
  51.      Forum in the spring 1997 release of _M_P_I:  _A _M_e_s_s_a_g_e _P_a_s_s_i_n_g _I_n_t_e_r_f_a_c_e
  52.      _S_t_a_n_d_a_r_d.
  53.  
  54. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  55.      The MMMMPPPPIIII____IIIIrrrreeeeccccvvvv routine begins a nonblocking receive.  This routine accepts
  56.      the following parameters:
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. MMMMPPPPIIII____IIIIRRRREEEECCCCVVVV((((3333))))                                                      MMMMPPPPIIII____IIIIRRRREEEECCCCVVVV((((3333))))
  71.  
  72.  
  73.  
  74.      _b_u_f       Specifies the initial address of the receive buffer (choice)
  75.  
  76.      _c_o_u_n_t     Specifies the number of elements in the receive buffer
  77.                (integer)
  78.  
  79.      _d_a_t_a_t_y_p_e  Specifies the data type of each receive buffer element (handle)
  80.  
  81.      _s_o_u_r_c_e    Specifies the rank of the source (integer)
  82.  
  83.      _t_a_g       Specifies the message tag (integer)
  84.  
  85.      _c_o_m_m      Specifies the communicator (handle)
  86.  
  87.      _r_e_q_u_e_s_t   Returns the communication request (handle)
  88.  
  89.      _i_e_r_r_o_r    Specifies the return code value for successful completion,
  90.                which is in MPI_SUCCESS.  MPI_SUCCESS is defined in the mmmmppppiiiiffff....hhhh
  91.                file.
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.